/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.uparis10.m2miageclassic.entityManager;

import fr.uparis10.m2miageclassic.entity.Specialite;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author moabbadi
 */
@Stateless
public class SpecialiteFacade extends AbstractFacade<Specialite> {
    @PersistenceContext(unitName = "MaquetteFormationPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public SpecialiteFacade() {
        super(Specialite.class);
    }
    
}
